package com.fingard.dsp.bank.reqrespobj.billpool;

import com.fingard.dsp.bank.reqrespobj.ReqRespHeader;
import com.fingard.dsp.bank.reqrespobj.RequestBase;
import com.fingard.xml.XmlTextReader;

//超短贷还款--票据池设计修改接口
public class ReqB311LoanRepay extends RequestBase{
//    流水号
    public String ReqSeqID;
//    借据号
    public String DebitNo;
//    账户
    public String AccountNum;
//   还款方式 1:还本2:还息5:本金及利息
    public String RepayType;
//  还款金额
    public String Amount;
//  部分还款
    public String Flag;
//    CIF客户号
    public String CIFCode;

    private XmlTextReader xmlReader;

    public ReqB311LoanRepay(XmlTextReader p_xmlReader, ReqRespHeader p_header) throws Exception {
        reqHeader = p_header;
        xmlReader = p_xmlReader;

        ReqSeqID=xmlReader.getSimpleText("ReqSeqID");
        DebitNo=xmlReader.getSimpleText("DebitNo");
        RepayType=xmlReader.getSimpleText("RepayType");
        Flag=xmlReader.getSimpleText("Flag");
        AccountNum = xmlReader.getSimpleText("AccountNum");
        Amount = xmlReader.getSimpleText("Amount");
        CIFCode = xmlReader.getSimpleText("CIFCode");
    }
}
